package com.example.petplanet.mapper;


import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

@Mapper
public interface MarkBookDao {
    int markBook(Long userId, Long contentId, Long targetId);

    int cancelMarkBook(Long userId, Long contentId);

    Long getMarkCountByUserId(Long userId);

    Set<Long> getMarkBooksByUserId(Long userId);

    int batchCancelMarkBook(Long userId, List<Long> contendIds);
}
